#pragma once
#include <iostream>
#include <string>
#include <sstream>

using namespace std;
class multimedia
{
private:
	string year;
	string title;
	string length;
	string company;
	string producer;

public:
	multimedia(void);
	multimedia(string tit,
		string pro,
		string com,
		string len,
		string y);
	~multimedia(void);

	string getTitle()
	{
		return title;
	}
	void setTitle(string t){
		this->title = t;
	}

	string getLength()
	{
		return length;
	}
	void setLength(string l){
		this->length = l;
	}

	string getCompany()
	{
		return company;
	}
	void setCompany(string c){
		this->company = c;
	}

	string getProducer()
	{
		return producer;
	}
	void setProducer(string p){
		this->producer = p;
	}

	string getYear()
	{
		return year;
	}
	void setYear(string y){
		this->year = y;
	}

	friend ostream& operator <<(ostream& stream, multimedia& item);
	friend istream& operator >>(istream& stream, multimedia& item);
	friend int operator ==(multimedia& lop, multimedia& hop);
	
	friend int operator <(multimedia& lop, multimedia& hop);
	int isAlike(string s);
};

